﻿using CommonType;
using SqlSugar;

namespace S_Examine.Domains.Entity
{
	/// <summary>
	/// 考核方案管理
	/// </summary>
	[SugarTable("AssessmentScheme")]
	public class AssessmentScheme : BaceEntity
	{
		/// <summary>
		/// 考核方案管理Id
		/// </summary>
		[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
		public int Id { get; set; }

		/// <summary>
		/// 方案名称
		/// </summary>
		[SugarColumn(ColumnDescription = "方案名称", Length = 50, IsNullable = true)]
		public string? SchemeName { get; set; }

		/// <summary>
		/// 考核类型
		/// </summary>
		[SugarColumn(ColumnDescription = "考核类型", Length = 50, IsNullable = true)]
		public string? AssessmentType { get; set; }

		/// <summary>
		/// 考核周期
		/// </summary>
		[SugarColumn(ColumnDescription = "考核周期", IsNullable = true)]
		public DateTime? AssessmentCycle { get; set; }

		/// <summary>
		/// 考核对象
		/// </summary>
		[SugarColumn(ColumnDescription = "考核对象", Length = 50, IsNullable = true)]
		public string? AssessmentObject { get; set; }

		/// <summary>
		/// 考核状态
		/// </summary>
		[SugarColumn(ColumnDescription = "考核状态", Length = 50, IsNullable = true)]
		public string? AssessmentState { get; set; }

		/// <summary>
		/// 客观评价权重
		/// </summary>
		[SugarColumn(ColumnDescription = "客观评价权重", Length = 50, IsNullable = true)]
		public string? ObjectiveEvaluationWeight { get; set; }

		/// <summary>
		/// 主观评价权重
		/// </summary>
		[SugarColumn(ColumnDescription = "主观评价权重", Length = 50, IsNullable = true)]
		public string? SubjectiveEvaluationWeight { get; set; }
	}
}
